package com.coocaa.ops.admin.v1.globalparams.mapper;

import com.coocaa.ops.common.core.base.mapper.IBaseMapper;
import com.coocaa.ops.common.core.biz.globalparams.entity.GlobalParamsEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author : hql
 * @date : 2020/7/15 17:55
 * @description
 */
public interface IGlobalParamsMapper extends IBaseMapper<GlobalParamsEntity> {

   List<GlobalParamsEntity> getGlobalParamsList(@Param("cm") Map params);

   /**
    * 获取带策略的下方参数
    * @return
    */
   List<Integer> getUsableParamsIdsWithPolicy();
}
